package com.itheima;

public class SpeedKeyDemo1 {
    public static void main(String[] args) {
        System.out.println("Hello World!");
        printHelloWorld();
        System.out.println(sum(1, 2));
    }
//    打印三行HelloWorld
    public static void printHelloWorld() {
        System.out.println("Hello World!");
        System.out.println("Hello World!");
        System.out.println("Hello World!");
    }
//    我要求任意两个整数的和
    public static int sum(int a, int b) {
        return a + b;
    }


}
